import { BinaryDecision } from "framework/FSM/DecisionTree/Decision";
import { DecisionTreeNode } from "framework/FSM/DecisionTree/DecisionTreeNode";
 
export class DecisionLabBoostActive <T extends IStateArg<Room >> extends BinaryDecision<T>
{


    public testValue(arg:T): boolean
    {
        const tasks = arg.entity.getTaskByType("boost");
        if(tasks && tasks.length>0)
        {
            return true
        }
        return false;
    }

    value: any;


    public setValue(val: any)
    {
        this.value = val;
    }
}

